package com.ikun.hosuserservice.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ikun.common.entity.Convention;


public interface IUserService extends IService<Convention> {

    /**
     * 修改订单状态
     * @param tradeNo
     * @param status
     */
    Convention changeOrderStatus(String tradeNo, Integer status);

    /**
     * 查询订单
     * @param tradeNo
     */
    Convention getOrderByTradeNo(String tradeNo);

    /**
     * 插入订单
     * @param convention
     */
    void saveOrder(Convention convention);

}
